//
//  DoubleFaceButton.h
//  MGameTribe
//
//  Created by 杨敏 on 13-6-27.
//  Copyright (c) 2013年 YangMin. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol DoubleFaceButtonDelegate <NSObject>

@optional
-(void)doubleFaceButtonImageDidChanged;
-(void)doubleFaceButtonBacgroundImageDidChanged;

@end

@interface DoubleFaceButton : UIButton
@property(nonatomic,retain)UIImage *faceOne_norm;
@property(nonatomic,retain)UIImage *faceOne_high;

@property(nonatomic,retain)UIImage *faceTwo_norm;
@property(nonatomic,retain)UIImage *faceTwo_high;

@property(nonatomic,assign)id<DoubleFaceButtonDelegate>delegate;

-(void)showBacgroundImageWith:(int)index;
-(void)showImageWith:(int)index;
-(void)clearImg;
-(void)clearBacgroundImg;
-(void)showImageWith:(int)index clearBackgroundImage:(BOOL)clearBackgroundImage;
-(void)showBacgroundImageWith:(int)index clearImage:(BOOL)clearImage;

@end
